package com.tydic.test;

import java.util.Scanner;

public class ReplaceBlank {

	public static void main(String[] args) {
		//Scanner scanner = new Scanner(System.in);
		String str = "  宏伟 和  小红    很要好   ";
		
		str = str.replace(" ", "%");
		
		System.out.println(str);
		
	}
}
